package com.mls.fivedistrict.enums;

import com.baomidou.mybatisplus.enums.IEnum;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;

/**
 * Created by lixixi on 2018/6/5.
 */
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum AdvertisingTypeEnum implements IEnum {
    HOMEPAGE("首页", "homePage"),
    GOODS("商品页", "goodsPage"),
    NEWS("新闻页", "newsPage"),
    EXPLOREPAGE("探索页", "explorePage"),
    NEWSFLASH("快讯页", "newsFlashPage");

    private String desc;
    private String value;


    AdvertisingTypeEnum(String desc, String value) {
        this.desc = desc;
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
